package service

import (
	"go-fast/app/dao/user"
)

type UserService interface {
	 Add() error
}

type userService struct {
	userDao     *user.UserDao
	userInfoDao *user.UserInfoDao
}

func NewUserService() UserService {
     return &userService{
       userDao: user.NewUserDao(),
	   userInfoDao: user.NewUserInfoDao(),
	 }
}

func (u *userService)Add() error {
	 return nil
}